package com.itjiange.service;

import com.itjiange.pojo.dto.user.UserRegisterDto;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;

/**
* @author 大师的本
* @description 针对表【kfm_user】的数据库操作Service
* @createDate 2023-10-21 09:16:10
*/
public interface UserService {
    /**
     * 用户登录
     *
     * @param username 用户名
     * @param password 用户密码
     * @param req
     * @return
     */
    boolean userLogin(String username, String password, HttpServletRequest req);

    /**
     * 用户注册
     * @param userRegisterDto 注册 User 类
     * @return
     */
    boolean userRegister(UserRegisterDto userRegisterDto);
}
